package org.redrock.test.exception;

import lombok.Data;
import org.springframework.http.HttpStatus;

@Data
public class WeixinException extends Exception {
    private HttpStatus httpStatus;
    private String errorMsg;

    public WeixinException(HttpStatus httpStatus, String errorMsg) {
        super(errorMsg);
        this.httpStatus = httpStatus;
        this.errorMsg = errorMsg;
    }
}
